from django.contrib import admin

# Register your models here.
from blog.models import Post, Tag, Category


class PostAdmin(admin.ModelAdmin):
    list_display = ['title', 'created_time', 'category', 'author', 'click_nums', 'comment_nums', 'thumbnail']


admin.site.register(Post, PostAdmin)
admin.site.register([Tag, Category])
